//
//  UserDBService.h
//  NJUSTHelper
//
//  Created by 郑越辉 on 2017/9/18.
//  Copyright © 2017年 njust. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <FMDB.h>
#import "DataBase.h"
@interface UserDBService : NSObject

+(BOOL)checkUserIsExistWithID:(NSString *)userId;

+(void)logoutAllUser;

+(NSInteger) addUser:(UserModel *)user;

+(NSInteger)updateUser:(UserModel *)user ;

+(UserModel *)getUserByID:(NSString *)userId;

/* 查询登录用户 */
+(UserModel *)getLoginUser;
@end
